package co.baiku.boot.live.baijiayun.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 直播回放信息
 *
 * @author haojiaolong
 * @date 2020/11/21 17:04
 */
public class BaiJiaPlaybackBasicInfo implements Serializable {
    /**
     * 回放状态码 0:回放未生成 10:回放生成中 20:转码中 30:回放生成失败 100:回放生成成功。回放未生成的没有video_id等其它信息
     */
    private Integer status;
    /**
     * 云端录制视频ID
     */
    @JsonProperty("video_id")
    private Long videoId;
    /**
     * 回放名称
     */
    private String name;
    /**
     * 视频时长（单位为秒）
     */
    private Long length;
    /**
     * 回放视频大小
     */
    @JsonProperty("total_size")
    private Long totalSize;
    /**
     * 视频转码后文件总大小
     */
    @JsonProperty("total_transcode_size")
    private Long totalTranscodeSize;
    /**
     * 该回放相关的其他视频转码后的总大小(包括学生的视频和辅助摄像头视频)
     */
    @JsonProperty("total_ext_media_size")
    private Long totalExtMediaSize;
    /**
     * 回放视频封面地址
     */
    @JsonProperty("preface_url")
    private String prefaceUrl;
    /**
     * 视频屏蔽状态 1:未屏蔽 2:已屏蔽
     */
    @JsonProperty("publish_status")
    private Integer publishStatus;
    /**
     * 回放生成时间
     */
    @JsonProperty("create_time")
    private String createTime;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLength() {
        return length;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public Long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }

    public Long getTotalTranscodeSize() {
        return totalTranscodeSize;
    }

    public void setTotalTranscodeSize(Long totalTranscodeSize) {
        this.totalTranscodeSize = totalTranscodeSize;
    }

    public Long getTotalExtMediaSize() {
        return totalExtMediaSize;
    }

    public void setTotalExtMediaSize(Long totalExtMediaSize) {
        this.totalExtMediaSize = totalExtMediaSize;
    }

    public String getPrefaceUrl() {
        return prefaceUrl;
    }

    public void setPrefaceUrl(String prefaceUrl) {
        this.prefaceUrl = prefaceUrl;
    }

    public Integer getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(Integer publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
